<!-- BEGIN HEADER -->
<?php include 'header.php';?>
<!-- END HEADER -->
<!-- BEGIN CONTAINER -->
<div class="page-container row-fluid">
	<!-- BEGIN SIDEBAR -->
	<?php //include 'sidebar.php';?>
	<!-- END SIDEBAR -->
	<!-- BEGIN PAGE -->
	<div class="page-content">
	<!-- BEGIN SAMPLE PORTLET CONFIGURATION MODAL FORM-->
	
	<!-- END SAMPLE PORTLET CONFIGURATION MODAL FORM-->
	<!-- BEGIN PAGE CONTAINER-->
	<div class="container-fluid">
	<!-- BEGIN PAGE HEADER-->
	<?php //include 'page_header.php';?>
	<!-- END PAGE HEADER-->
	<div id="dashboard">
		<div class="clearfix"></div>
        <div class="row-fluid">
	        <div class="span12">
			  	<!-- BEGIN PORTLET-->
				<div class="<?php echo $portlet_style;//portlet box light-grey?>">
				<div class="portlet-title">
					<h4>
						<i class="icon-reorder"></i>
						<?php echo $portlet_title;?>
					</h4>
					<div class="tools hidden-phone">
						<a href="javascript:;" class="reload"></a>
					</div>
				</div>
				<?php 
				switch ($portlet_type){
					case 'Form':
						include 'custom/'.$form.'.php';
						break;
					case 'Data':
						include 'table.php';
						break;
					case 'View':
						include 'custom/'.$view.'.php';
						break;
					default:
						echo "<div class=\"portlet-body\">Unknown portlet type</div>";
				}
				?>
				</div>
				<!-- END PORTLET-->
			</div>
		</div>
		<div class="clearfix"></div>
	</div>
	</div>
	<!-- END PAGE CONTAINER-->		
	</div>
	<!-- END PAGE -->
</div>
<!-- END CONTAINER -->
<!-- BEGIN FOOTER -->
<?php include 'footer.php';?>
<!-- END FOOTER -->
	
	